package com.xinchao.job.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xinchao.job.mapper.dmp.DeviceInfoMapper;

@Service("deviceLocationSyncJobService")
public class DeviceLocationSyncJobService {
	private static Logger logger = LoggerFactory.getLogger(DeviceLocationSyncJobService.class);
	@Autowired
	private DeviceInfoMapper deviceInfoMapper;
	
	public void sync() {
		int effect = deviceInfoMapper.locationSync();
		logger.info("== 批量同步点位所属位置信息，当前更新条数："+ effect);
	}
	
}
